package com.mysoft.gfyx.common.rpc.omp;

import com.mysoft.gfyx.common.rpc.omp.dto.CallbackRequestDto;
import com.mysoft.gfyx.common.rpc.omp.dto.CallbackResponseDto;
import com.mysoft.gfyx.common.rpc.omp.dto.GetTokenResponseDto;
import feign.Headers;
import feign.RequestLine;
import io.swagger.v3.oas.annotations.headers.Header;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestBody;

public interface OMPClientService {
    @RequestLine("POST /api/v1/task/execute-result-callback")
    @Headers("Content-Type: application/json")
    CallbackResponseDto executeResultCallback(@RequestBody CallbackRequestDto callbackRequestDto) throws Exception;
}
